package com.xxgc.eow.service.impl;

import com.xxgc.eow.entity.Recommendlibrary;
import com.xxgc.eow.mapper.RecommendlibraryMapper;
import com.xxgc.eow.service.IRecommendlibraryService;
import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import org.springframework.stereotype.Service;

import javax.annotation.Resource;

/**
 * <p>
 *  服务实现类
 * </p>
 *
 * @author Mr.Abel
 * @since 2023-05-25
 */
@Service
public class RecommendlibraryServiceImpl extends ServiceImpl<RecommendlibraryMapper, Recommendlibrary> implements IRecommendlibraryService {

    @Resource
    private RecommendlibraryMapper recommendlibraryMapper;

    @Override
    public Recommendlibrary getNewRecommendlibrary() {
        return recommendlibraryMapper.selectOne();
    }
}
